from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.common.by import By
import time

driver = webdriver.Chrome(service=Service('chromedriver.exe'))
driver.maximize_window()
driver.get('https://baijiahao.baidu.com/s?id=1825797190743131413')
time.sleep(2)

t = driver.find_element(By.XPATH, '//*[@id="ssr-content"]/div[2]/div[1]/div[1]/div[3]/div[1]/div[25]/span')
print(t.text)
driver.execute_script("arguments[0].scrollIntoView({block: 'center'});", t)
time.sleep(20)
